package com.efast.dmom.mgmt.bean.mes;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.List;


/**
 * The persistent class for the mes_work_calendar database table.
 * 
 */
@Entity
@Table(name="mes_work_calendar")
@NamedQuery(name="MesWorkCalendar.findAll", query="SELECT m FROM MesWorkCalendar m")
public class MesWorkCalendar implements Serializable {
	private static final long serialVersionUID = 1L;

	private int id; // 日历表id

	private Date calendarDate; // 当前日历时间

	private int jph; // 节拍

	private int planActualInput; // 实际计划投入

	private int planInput; // 主计划投入

	private int planOutput; // 计划产出

	private int shiftId; // 班次表id

	private String status; // 是否生效（Y：工作日N：休息日）

	private String workshop; // 车间

	private int workshopId; // 车间id

	private Date lastUpdateTime; // 更新时间

	private String lastUpdateUser; // 更新人

	private Date createTime; // 创建时间

	private String createUser; // 创建人

	private Integer isDeleted; // 逻辑删除

	private Integer activate; // 是否激活
	
	private String model; // 车辆类型
	
	private String factoryCode; // 工厂编号
	
	private Integer relationId; // 关系表id
	
	private Integer countPlaninput = 0; // 总计划投入
	
	private Integer scheduleCount = 0; // 已排产数量
	
	private List<String> calendarDateList;
	public MesWorkCalendar() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCalendarDate() {
		return this.calendarDate;
	}

	public void setCalendarDate(Date calendarDate) {
		this.calendarDate = calendarDate;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public int getJph() {
		return this.jph;
	}

	public void setJph(int jph) {
		this.jph = jph;
	}

	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateUser() {
		return this.lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public int getPlanActualInput() {
		return this.planActualInput;
	}

	public void setPlanActualInput(int planActualInput) {
		this.planActualInput = planActualInput;
	}

	public int getPlanInput() {
		return this.planInput;
	}

	public void setPlanInput(int planInput) {
		this.planInput = planInput;
	}

	public int getPlanOutput() {
		return this.planOutput;
	}

	public void setPlanOutput(int planOutput) {
		this.planOutput = planOutput;
	}

	public int getShiftId() {
		return this.shiftId;
	}

	public void setShiftId(int shiftId) {
		this.shiftId = shiftId;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getWorkshop() {
		return this.workshop;
	}

	public void setWorkshop(String workshop) {
		this.workshop = workshop;
	}

	public int getWorkshopId() {
		return this.workshopId;
	}

	public void setWorkshopId(int workshopId) {
		this.workshopId = workshopId;
	}

	public List<String> getCalendarDateList() {
		return calendarDateList;
	}

	public void setCalendarDateList(List<String> calendarDateList) {
		this.calendarDateList = calendarDateList;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getActivate() {
		return activate;
	}

	public void setActivate(Integer activate) {
		this.activate = activate;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getFactoryCode() {
		return factoryCode;
	}

	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}

	public Integer getRelationId() {
		return relationId;
	}

	public void setRelationId(Integer relationId) {
		this.relationId = relationId;
	}

	public Integer getCountPlaninput() {
		return countPlaninput;
	}

	public void setCountPlaninput(Integer countPlaninput) {
		this.countPlaninput = countPlaninput;
	}

	public Integer getScheduleCount() {
		return scheduleCount;
	}

	public void setScheduleCount(Integer scheduleCount) {
		this.scheduleCount = scheduleCount;
	}


}